﻿
jQuery(document).ready(function () {
    jQuery('#moodular').moodular({
        effects: 'fade slide mosaic',
        // controls separated by space
        controls: 'keys pagination',
        // if you want some yummy transition
        easing: 'easeInOutBounce',
        // step 
        step: 1,
        // selector is to specify the children of your element (tagName)
        selector: 'li',
        // if timer is 0 the carrousel isn't automatic, else it's the interval in ms between each step
        timer: 5000,
        // speed is the time in ms of the transition
        speed: 2000,
        // queuing animation ?
        queue: false,
        /* parameters for controls or effects */
        // keys control
        keyPrev: 37, // left key
        keyNext: 39, // right key
        // pagination control
        pagination: jQuery('#index_wrapper'),
        // slide effects
        direction: 'left',
        // mosaic effects
        slices: [10, 4],
        mode: 'crawler'
    });
});